﻿#region Copyright and License
/*==============================================================================
 *  Copyright (c) cndotnet.org Corporation.  All rights reserved.
 * ===============================================================================
 * This code and information is provided "as is" without warranty of any kind,
 * either expressed or implied, including but not limited to the implied warranties
 * of merchantability and fitness for a particular purpose.
 * ===============================================================================
 * Licensed under the GNU General Public License (GPL) v2
 * http://www.cndotnet.org/ucenter
 * ==============================================================================*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;
using System.Data.Linq.Mapping;

namespace UCenter.EmailService.Models
{
    [Table(Name = "EmailSentQueue")]
    public class MailSentItem
    {
        [Column(Name = "EmailSentQueue")]
        public int ID { get; set; }

        [Column(Name = "MailType")]
        public short MailType { get; set; }

        [Column(Name = "Recipient")]
        public string Recipient { get; set; }

        [Column(Name = "Subject")]
        public string Subject { get; set; }

        [Column(Name = "Content")]
        public string Content { get; set; }

        [Column(Name = "SentDate")]
        public DateTime? SentDate { get; set; }

        [Column(Name = "Status")]
        public int Status { get; set; }
    }
}
